@media (max-width: 8000px) {
  .modalContent {
    width: 370px;
    padding: 30px;
    gap: 15px;
  }

  .modalContent h1 {
    font-size: 30px;
    color: #4b1514;
  }

  .closeModal svg {
    width: 35px;
    height: 35px;
  }

  .modalContent span {
    font-size: 20px;
  }

  .modalContent button {
    font-size: 20px;
  }

  .modalContent label {
    font-size: 20px;
  }

  .modalContentButtons {
    gap: 0 20px;
  }
}

@media (max-width: 1380px) {
  .modalContent {
    width: 300px;
    padding: 20px;
  }

  .modalContent h1 {
    font-size: 25px;
  }

  .modalContent span {
    font-size: 15px;
  }

  .modalContent button {
    font-size: 15px;
  }

  .modalContent label {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .modalContent {
    width: 230px;
    padding: 15px;
    gap: 5px 0;
  }

  .modalContent h1 {
    font-size: 22px;
  }

  .closeModal svg {
    width: 25px;
    height: 25px;
  }

  .modalContent span {
    font-size: 10px;
  }

  .modalContent button {
    font-size: 12px;
  }

  .modalContent label {
    font-size: 12px;
  }

  .modalContentButtons {
    gap: 0 10px;
  }
}

@media (max-width: 350px) {
  .modalContent {
    padding: 10px;
    width: 200px;
  }

  .modalContent h1 {
    font-size: 20px;
  }

  .closeModal svg {
    width: 20px;
    height: 20px;
  }

  .modalContent span {
    font-size: 10px;
  }

  .modalContent button {
    font-size: 10px;
  }

  .modalContent label {
    font-size: 10px;
  }

  .modalContent > section {
    gap: 0 10px;
  }
}

.modalWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s all;
}

.modalWrapperActive {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modalContent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.3s;
  transform: translateY(-55px);
  border-radius: 30px;
  background: #fff6e7;
}

.closeModal {
  transition: 0.3s all;
  border: 1px solid rgb(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: #fff6e7;
  position: absolute;
  top: -10px;
  right: -10px;
}

.closeModal svg,
.deleteItem svg {
  cursor: pointer;
}

.modalContent label {
  width: 100%;
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.modalContent label input {
  font-size: 20px;
}

.modalContent span {
  text-align: center;
}

.modalContent button {
  font-weight: 600;
  color: #4b1514;
  background: #ffa500;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.modalContent button[data-map-order] {
  margin-top: 20px;
  width: 100%;
}

.modalContentButtons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modalContentActive {
  transform: translateY(0);
}
